﻿<%@ Page Language="C#" AutoEventWireup="true" Title="Detalle Ingreso" MasterPageFile="~/MasterPage.master" CodeFile="DetalleIngreso.aspx.cs" Inherits="Admin_DetalleIngreso"%>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="content" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ScriptManager id="sman1" runat="server">
    </asp:ScriptManager>
    &nbsp;<table width="100%" class="tablaForm">
        <tr>
            <td class="tdCajas" colspan="3">
                Detalle Ingreso &nbsp;&nbsp;&nbsp;</td>
        </tr>
        <tr>
            <td class="tdForm" colspan="3" style="text-align: center">
                <asp:Label ID="lblAccion" runat="server" CssClass="lblAccion" Text="lblAccion"></asp:Label></td>
        </tr>
        <tr>
            <td class="tdForm"  style="width: 33%; text-align: center;">
                Caja:
                <asp:Label ID="lblCaja" runat="server"></asp:Label></td>
            <td class="tdForm" style="width: 34%; text-align: center;">
                Fecha:
                <asp:Label ID="lblFecha" runat="server"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: center;">
                Ingreso:
                <asp:Label ID="lblIngreso" runat="server"></asp:Label></td>
        </tr>
        <tr>
            <td class="tdForm" rowspan="18" style="width: 34%; text-align: right">
            </td>
            <td style="width: 34%; text-align: center; height: 21px;" class="tdTit">
                <asp:Label ID="lblMonedas" runat="server" Text="Monedas $:"></asp:Label></td>
            <td style="width: 33%; text-align: center; height: 21px;" class="tdTit">
                <asp:Label ID="Label1" runat="server" Text="Cantidad:"></asp:Label></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lblCtv5" runat="server" Text="$ 0,05 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txtCtv5" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lblCtv10" runat="server" Text="$ 0,10 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txtCtv10" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lblCtv25" runat="server" Text="$ 0,25 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txtCtv25" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lblCtv50" runat="server" Text="$ 0,50 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txtCtv50" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lblCtv100" runat="server" Text="$ 1,00 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txtCtv100" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdTit" style="width: 34%; text-align: center">
                <asp:Label ID="lblBilletes" runat="server" Text="Billetes $:"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
            </td>
        </tr>
         <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lbl2" runat="server" Text="$ 2,00 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txt2" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lbl5" runat="server" Text="$ 5,00 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txt5" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lbl10" runat="server" Text="$10,00 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txt10" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center;">
                <asp:Label ID="lbl20" runat="server" Text="$ 20,00 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left; height: 23px;">
                <asp:TextBox ID="txt20" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" style="width: 34%; text-align: center">
                <asp:Label ID="lbl50" runat="server" Text="$ 50,00 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left">
                <asp:TextBox ID="txt50" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
         <tr>
            <td class="tdForm" style="width: 34%; text-align: center;">
                <asp:Label ID="lbl100" runat="server" Text="$ 100,00 :"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: left; height: 23px;">
                <asp:TextBox ID="txt100" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdTit" style="width: 34%; text-align: center; height: 21px;">
                <asp:Label ID="lblEfectivo" runat="server" Text="Total Efectivo $:"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: center; height: 21px;">
                <asp:TextBox ID="txtTEfectivo" runat="server" CssClass="numero" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdTit" style="width: 34%; text-align: center; height: 21px;">
                <asp:Label ID="lblCheques" runat="server" Text="Total Cheques $:"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: center">
                <asp:TextBox ID="txtTCheques" runat="server" CssClass="numero"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdTit" colspan="1" style="text-align: center; height: 23px;">
                <asp:Label ID="lblTValores" runat="server" Text="Total Valores $:"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: center; height: 23px;">
                <asp:TextBox ID="txtTValores" runat="server" CssClass="numero" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdTit" colspan="1" style="text-align: center; height: 23px;">
                <asp:Label ID="lblInformado" runat="server" Text="Total Ingresado Caja $:"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: center; height: 23px;">
                <asp:TextBox ID="txtTCaja" runat="server" CssClass="numero" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdTit" colspan="1" style="text-align: center; height: 23px;">
                <asp:Label ID="lblDiferencia" runat="server" Text="Diferencia $:"></asp:Label></td>
            <td class="tdForm" style="width: 33%; text-align: center; height: 23px;">
                <asp:TextBox ID="txtDiferencia" runat="server" CssClass="numero" ReadOnly="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="3" style="text-align: center">
                <asp:TextBox ID="txtObs" runat="server" Rows="3" TextMode="MultiLine" Width="90%"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="tdForm" colspan="3" style="text-align: center">
            </td>
        </tr>
        <tr>
            <td class="tdBotones" colspan="3" style="text-align: center">
                <asp:Button ID="btnGuardar" runat="server" Text="Guardar" Width="75px" OnClick="btnGuardar_Click" />
                &nbsp; &nbsp;<asp:Button ID="btnCalcular" runat="server" Text="Calcular" Width="75px" OnClick="btnCalcular_Click" />
                &nbsp;
                <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" Width="75px" OnClick="btnCancelar_Click" /></td>
        </tr>
    </table>
    &nbsp;&nbsp;
        <asp:Panel ID="pnlDiferencia" runat="server" CssClass="tdBotones" Style="display: none" Width="233px">
        <div style="text-align:center; background-image: none; background-color: transparent;">
            Para guardar el detalle, Diferencia debe ser CERO<br />
            <br />
            <asp:Button ID="btnOkDiferencia" runat="server" Text="OK" Width="64px"/>
        </div>
    </asp:Panel>
       <table border="0" id = "OcultarProveedor" runat="server" style="width: 0px; height: 0px">
            <tr>
                <td style="width: 100px; height: 18px;">
                    <asp:Button ID="btnDiferencia" runat="server" Text="Button" Height="0px" Width="0px" />
                </td>
            </tr>
        </table>
    <cc1:ModalPopupExtender id="mpeDiferencia" runat="server" backgroundcssclass="modalBackground"
        dropshadow="true" okcontrolid="btnOkDiferencia" popupcontrolid="pnlDiferencia" targetcontrolid="btnDiferencia">
    </cc1:ModalPopupExtender>
</asp:Content> 
